/* layout布局样式 */
.layoutContainer {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* 侧边栏样式【menu菜单自定义样式】 */
.layoutLeftContainer {
  background-color: #304156 !important;
  box-sizing: border-box;
}

.logoContainer {
  color: #fff;
  height: 50px;
  line-height: 50px;
  display: flex;
  cursor: pointer;
  font-size: 16px;
  overflow: hidden;
}
/* 折叠时设置透明度隐藏title */
.logoCollapsed h4 {
  opacity: 0;
}
/* 优化menu折叠动画 */
.ant-menu-item {
  padding-left: 18px !important;
}
.ant-menu-submenu-title {
  padding-left: 18px !important;
}
.ant-menu-item-only-child {
  padding-left: 42px !important;
}

/* 右侧内容样式 */
.layoutRightContainer {
  width: 100%;
  height: 100vh;
  background-color: #fff;
  box-sizing: border-box;
}

.layoutHeader {
  width: 100%;
  height: 50px;
  line-height: 0;
  background-color: #fff;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc;
  padding: 0 15px;
}

.headerContainer {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toolsIconBtn {
  font-size: 12px;
  color: #606266;
  padding: 0 10px;
  cursor: pointer;
}

.toolsIconBtn:hover {
  color: #1677ff;
}

.ant-dropdown-menu-item {
  font-size: 12px !important;
}

.layoutContent {
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.mainContent {
  box-sizing: border-box;
  padding: 12px;
  /* 实际main内容高度=屏幕高度-header */
  height: calc(100vh - 50px);
  /* auto放在需要的父盒子上，就可以捕获滚动条，必须存在实际的高度，不能是百分比 */
  overflow-y: auto;
  background-color: #fff;
}

.pageContainer {
  box-sizing: border-box;
  padding: 20px;
  background-color: #fff;
  /* 溢出隐藏 */
  overflow: hidden;
}

/* header样式 */
.headerContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
